Redo the handling of Emoji data
authorMatthias Clasen <mclasen@redhat.com>
Sun, 4 Oct 2020 02:26:56 +0000 (22:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 4 Oct 2020 05:14:42 +0000 (01:14 -0400)
commit452c909b6439772625f9d854045f193de19b9f9f
tree96ecaaf9923bc179d7331c872d4724ea89570a1a
parent7ef5921022b568ea2cb5c7d98f4d742e89560b70
Redo the handling of Emoji data

Use the data files from https://github.com/milesj/emojibase.git
as source for our Emoji data. Slightly change our data format by
adding a group to each item, in both the Emoji data and in the
setting for recent-emoji.

Install translated versions of the data as separate resource
bundles in $prefix/gtk-4.0/emoji, and load them when appropriate.

Currently, we have data for de, en, es, fr, zh, with data taken
from Unicode 13 and CLDR 13.

Fixes: #950 #1511
17 files changed:
gtk/emoji/README.md [new file with mode: 0644]
gtk/emoji/convert-emoji.c
gtk/emoji/de.data [new file with mode: 0644]
gtk/emoji/emoji.data [deleted file]
gtk/emoji/emoji.json [deleted file]
gtk/emoji/emoji1.json [deleted file]
gtk/emoji/en.data [new file with mode: 0644]
gtk/emoji/es.data [new file with mode: 0644]
gtk/emoji/fr.data [new file with mode: 0644]
gtk/emoji/gresource.xml.in [new file with mode: 0644]
gtk/emoji/zh.data [new file with mode: 0644]
gtk/gen-gtk-gresources-xml.py
gtk/gtkemojichooser.c
gtk/gtkemojicompletion.c
gtk/gtkprivate.h
gtk/meson.build
gtk/org.gtk.gtk4.Settings.EmojiChooser.gschema.xml